package com.swordxu.yim.android.ui.activity;

import android.content.Intent;
import android.os.Bundle;

import com.swordxu.yim.R;
import com.swordxu.yim.android.config.SysConstant;
import com.swordxu.yim.android.ui.base.YimBaseFragmentActivity;
import com.swordxu.yim.android.ui.fragment.WebviewFragment;

/**
 * Created by 徐晓明 on 2015/1/13.
 */
public class WebViewFragmentActivity extends YimBaseFragmentActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method stub
        super.onCreate(savedInstanceState);
        Intent intent=getIntent();
        if (intent.hasExtra(SysConstant.WEBVIEW_URL)) {
            WebviewFragment.setUrl(intent.getStringExtra(SysConstant.WEBVIEW_URL));
        }
        setContentView(R.layout.tt_fragment_activity_webview);
    }

    @Override
    protected void onDestroy() {
        // TODO Auto-generated method stub
        super.onDestroy();
    }
}

